<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>统计</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/vue.min.js"></script>
    <script type="text/javascript" src="../script/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="../script/fastclick.js"></script>
    <script type="text/javascript" src="../script/app.js"></script>
    <script type="text/javascript" src="../script/Highcharts-4.2.1/js/highcharts.js"></script>
    <script type="text/javascript" src="../script/Highcharts-4.2.1/js/highcharts-3d.js"></script>
    <link rel="stylesheet" type="text/css" href="../script/lCalendar.css" />
    <script type="text/javascript" src="../script/lCalendar.min.js"></script>

	<style>
        .login-third {
            margin-top: 3rem;
        }
.aui-title input{ color: #fff;    text-align: center;}
	</style>
</head>
<body>
  <div class="page" id="pageStatistics">

  <header class="aui-bar aui-bar-nav aui-bar-dark aui-bg-yellow" id="aui-header" style="margin-bottom:5px;">
    <a class="aui-pull-left"  onclick="closeFrame()" >
        <span class="aui-iconfont aui-icon-left" ></span>返回
    </a><div class="aui-title"   >
      <input type="text" id="calendar"  readonly="" name="input_date" :value="date" :data-lcalendar="maxDate" />
    </div></header>


    <section class="aui-content aui-margin-t-15 statistics-content">
      <section class="aui-content conditions-content" >
          <div class="aui-row conditions" >
            <div :class="type=='date'?'aui-col-xs-4 on':'aui-col-xs-4'" @click="showCondtion('date')">
                <div class="aui-grid-label">按天</div>
            </div>
            <div :class="type=='month'?'aui-col-xs-4 on':'aui-col-xs-4'"  @click="showCondtion('month')">
                <div class="aui-grid-label">按月</div>
            </div>


          </div>
      </section>
     <div class="title">{{date}}实时数据</div>
     <div class="aui-row classify">
         <div class="aui-col-xs-6">
            <p >收入</p>
             <div class="aui-grid-label">¥{{statisticsBasicInfo.order_amount}}</div>
         </div>
         <div class="aui-col-xs-6">
             <p >笔数</p>
             <div class="aui-grid-label">{{statisticsBasicInfo.order_count}}</div>
         </div>
    </div>

    <div class="but-group">
         <div :class="showhighchartstype=='line'?'aui-col-xs-6 on':'aui-col-xs-6'" style="border-right:0" @click="showhighcharts('line')"><i class="aui-iconfont aui-icon-question"></i> 数据 </div>
          <div :class="showhighchartstype=='pie'?'aui-col-xs-6 on':'aui-col-xs-6'" style="border-left:0" @click="showhighcharts('pie')"><i class="aui-iconfont aui-icon-question"></i> 分布 </div>
          <div class="clear"></div>
    </div>

    <div id="highcharts">

    </div>
    </section>



  </div>
  <script type="text/javascript" src="../script/statistics.js"></script>


</body>


</html>
